package com.swust.vo;

import com.swust.po.Product;
import com.swust.po.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryVo {
    private Product product;
    private Student student;
    private List<Integer> snos;
    public  QueryVo(List<Integer> snos) {
        this.snos = snos;
    }
    public QueryVo(Product product) {
        this.product = product;
    }
    public QueryVo(Student student) {
        this.student = student;
    }
}
